<?php
/**
 * Author:   tangxiaowen
 * Email:    846506584@qq.com
 * Date:     2019/6/17 0017
 * Describe: 富友回调地址
 */

namespace app\api\controller\fuyou;

use think\Controller;
use think\Log;

class Callback extends Controller
{
    public function __construct()
    {
        //日志初始化保存地址
        $setPath = strtolower(request()->module().'/'.request()->controller().'/'.request()->action().'/');
        Log::init(['path' => LOG_PATH.$setPath, 'type' => 'file']);
    }

    /**
     * 富友订单回调处理
     */
    public function apyCallback()
    {
        Log::record('富友订单回调处理');
        echo 200;
    }

}